﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using EZCRS.HCMS.Bll;
using EZCRS.HCMS.Entity;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Web.manage.booklog
{
    public partial class commentlist : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                string verifyCode = CFun.RequestString("v");
                if (verifyCode != "")
                {
                    //备注信息
                    List<Hcrs_CCComment> commentList = new BllHcrs_CCComment().GetItem(" verifycode='" + verifyCode + "' ", " id desc ");
                    StringBuilder strB = new StringBuilder();
                    foreach (Hcrs_CCComment comment in commentList)
                    {
                        strB.Append("<tr>\r\n");
                        strB.Append("<td  style=\"width:80px;\" align=\"right\">备注人：</td>\r\n");
                        strB.Append("<td>"+comment.inname+"</td><td style=\"width:80px;\" align=\"right\">时间：</td><td>"+comment.indate.ToString()+"</td>\r\n");
                        strB.Append("</tr>\r\n");
                        strB.Append("<tr>\r\n");
                        strB.Append("<td align=\"right\">备注：</td>\r\n");
                        strB.Append("<td colspan=\"3\">"+comment.indetail+"</td>\r\n");
                        strB.Append("</tr>\r\n");
                        strB.Append("<tr>\r\n");
                        strB.Append(" <td colspan=\"4\"><hr /></td>\r\n");
                        strB.Append("</tr>\r\n");
                    }
                    ltllist.Text = strB.ToString();
                }
            }
        }
    }
}
